package cn.ai.shoes.client.entity;

import cn.ai.shoes.common.pojo.entity.PageParam;
import cn.ai.shoes.common.pojo.entity.PageQueryVo;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("cf_log")
@Schema(name = "comfyui调用日志", description = "comfyui调用日志")
public class ComfyuiLog {
    private String id;
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "用户名")
    private String username;
    @Schema(description = "用户简称")
    private String nickname;
    @Schema(description = "角色")
    private String role;
    @Schema(description = "方法名")
    private String methodName;
    @Schema(description = "方法描述")
    private String summary;
    @Schema(description = "参数")
    private String args;
    @Schema(description = "执行时间")
    private LocalDateTime excuteTime;
    @Schema(description = "耗时")
    private Double costTime;
    @Schema(description = "返回值")
    private String result;
    @Schema(description = "状态")
    private String state;
    @Schema(description = "异常信息")
    private String error;

}
